package com.ibeetl.cms.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 
* gen by Spring Boot2 Admin 2018-09-07
*/
public class Enterprise extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //企业名称

    private String enterpriseName ;
	
    //企业详细通讯地址

    private String postalAddress ;
	
    //统一社会信用代码

    private String organizationCode ;
	
    //注册资金(万元)

    private BigDecimal registeredCapital ;
	
    //注册资金币种
    @Dict(type="monetaryCurrencys")
    private String monetaryCurrency ;
	
    //营业执照注册号

    private String registrationNumber ;
	
    //成立日期

    private Date dateEstablishment ;
	
    //企业法人	

    private String enterpriseLegalPerson ;
	
    //企业手机号码	

    private String ephoneNumber ;
	
    //企业联系电话

    private String enterpriseTelephone ;
	
    //企业邮箱

    private String mail ;
	
    //企业名录年度

    private String enterpriseDirectory ;
	
    //企业名录类别
    @Dict(type = "orgType")
    private String directoryEnterprises ;
	
    //企业名额

    private Integer businessQuota ;
	
    //企业承办部门负责人

    private String personCharge ;
	
    //企业承办部门负责人手机号码

    private String phoneNumber ;
	
    //企业承办部门负责人联系电话

    private String pcontactNumber ;
	
    //经办人

    private String agent ;
	
    //经办人手机号码

    private String aphoneNumber ;
	
    //经办人联系电话

    private String acontactNumber ;

    //用户id

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String OldEnterpriseName;//未更改前的企业名

    private Integer userId ;

    public String getOldEnterpriseName() {
        return OldEnterpriseName;
    }

    public void setOldEnterpriseName(String oldEnterpriseName) {
        OldEnterpriseName = oldEnterpriseName;
    }

    //删除标识
	/*逻辑删除标志*/
	@InsertIgnore
	@LogicDelete(value = 1)



    private Integer delFlag ;

	//状态
	private String state;

    public Enterprise()
    {
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getId(){
	    return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    /**企业名称
    *@return 
    */
    public String getEnterpriseName(){
	    return  enterpriseName;
    }
    /**企业名称
    *@param  enterpriseName
    */
    public void setEnterpriseName(String enterpriseName){
        this.enterpriseName = enterpriseName;
    }

    /**企业详细通讯地址
    *@return 
    */
    public String getPostalAddress(){
	    return  postalAddress;
    }
    /**企业详细通讯地址
    *@param  postalAddress
    */
    public void setPostalAddress(String postalAddress){
        this.postalAddress = postalAddress;
    }

    /**统一社会信用代码
    *@return 
    */
    public String getOrganizationCode(){
	    return  organizationCode;
    }
    /**统一社会信用代码
    *@param  organizationCode
    */
    public void setOrganizationCode(String organizationCode){
        this.organizationCode = organizationCode;
    }

    /**注册资金(万元)
    *@return 
    */
    public BigDecimal getRegisteredCapital(){
	    return  registeredCapital;
    }
    /**注册资金(万元)
    *@param  registeredCapital
    */
    public void setRegisteredCapital(BigDecimal registeredCapital){
        this.registeredCapital = registeredCapital;
    }

    /**注册资金币种
    *@return 
    */
    public String getMonetaryCurrency(){
	    return  monetaryCurrency;
    }
    /**注册资金币种
    *@param  monetaryCurrency
    */
    public void setMonetaryCurrency(String monetaryCurrency){
        this.monetaryCurrency = monetaryCurrency;
    }

    /**营业执照注册号
    *@return 
    */
    public String getRegistrationNumber(){
	    return  registrationNumber;
    }
    /**营业执照注册号
    *@param  registrationNumber
    */
    public void setRegistrationNumber(String registrationNumber){
        this.registrationNumber = registrationNumber;
    }

    /**成立日期
    *@return 
    */
    public Date getDateEstablishment(){
	    return  dateEstablishment;
    }
    /**成立日期
    *@param  dateEstablishment
    */
    public void setDateEstablishment(Date dateEstablishment){
        this.dateEstablishment = dateEstablishment;
    }

    /**企业法人	
    *@return 
    */
    public String getEnterpriseLegalPerson(){
	    return  enterpriseLegalPerson;
    }
    /**企业法人	
    *@param  enterpriseLegalPerson
    */
    public void setEnterpriseLegalPerson(String enterpriseLegalPerson){
        this.enterpriseLegalPerson = enterpriseLegalPerson;
    }

    /**企业手机号码	
    *@return 
    */
    public String getEphoneNumber(){
	    return  ephoneNumber;
    }
    /**企业手机号码	
    *@param  ephoneNumber
    */
    public void setEphoneNumber(String ephoneNumber){
        this.ephoneNumber = ephoneNumber;
    }

    /**企业联系电话
    *@return 
    */
    public String getEnterpriseTelephone(){
	    return  enterpriseTelephone;
    }
    /**企业联系电话
    *@param  enterpriseTelephone
    */
    public void setEnterpriseTelephone(String enterpriseTelephone){
        this.enterpriseTelephone = enterpriseTelephone;
    }

    /**企业邮箱
    *@return 
    */
    public String getMail(){
	    return  mail;
    }
    /**企业邮箱
    *@param  mail
    */
    public void setMail(String mail){
        this.mail = mail;
    }

    /**企业名录年度
    *@return 
    */
    public String getEnterpriseDirectory(){
	    return  enterpriseDirectory;
    }
    /**企业名录年度
    *@param  enterpriseDirectory
    */
    public void setEnterpriseDirectory(String enterpriseDirectory){
        this.enterpriseDirectory = enterpriseDirectory;
    }

    /**企业名录类别
    *@return 
    */
    public String getDirectoryEnterprises(){
	    return  directoryEnterprises;
    }
    /**企业名录类别
    *@param  directoryEnterprises
    */
    public void setDirectoryEnterprises(String directoryEnterprises){
        this.directoryEnterprises = directoryEnterprises;
    }

    /**企业名额
    *@return 
    */
    public Integer getBusinessQuota(){
	    return  businessQuota;
    }
    /**企业名额
    *@param  businessQuota
    */
    public void setBusinessQuota(Integer businessQuota){
        this.businessQuota = businessQuota;
    }

    /**企业承办部门负责人
    *@return 
    */
    public String getPersonCharge(){
	    return  personCharge;
    }
    /**企业承办部门负责人
    *@param  personCharge
    */
    public void setPersonCharge(String personCharge){
        this.personCharge = personCharge;
    }

    /**企业承办部门负责人手机号码
    *@return 
    */
    public String getPhoneNumber(){
	    return  phoneNumber;
    }
    /**企业承办部门负责人手机号码
    *@param  phoneNumber
    */
    public void setPhoneNumber(String phoneNumber){
        this.phoneNumber = phoneNumber;
    }

    /**企业承办部门负责人联系电话
    *@return 
    */
    public String getPcontactNumber(){
	    return  pcontactNumber;
    }
    /**企业承办部门负责人联系电话
    *@param  pcontactNumber
    */
    public void setPcontactNumber(String pcontactNumber){
        this.pcontactNumber = pcontactNumber;
    }

    /**经办人
    *@return 
    */
    public String getAgent(){
	    return  agent;
    }
    /**经办人
    *@param  agent
    */
    public void setAgent(String agent){
        this.agent = agent;
    }

    /**经办人手机号码
    *@return 
    */
    public String getAphoneNumber(){
	    return  aphoneNumber;
    }
    /**经办人手机号码
    *@param  aphoneNumber
    */
    public void setAphoneNumber(String aphoneNumber){
        this.aphoneNumber = aphoneNumber;
    }

    /**经办人联系电话
    *@return 
    */
    public String getAcontactNumber(){
	    return  acontactNumber;
    }
    /**经办人联系电话
    *@param  acontactNumber
    */
    public void setAcontactNumber(String acontactNumber){
        this.acontactNumber = acontactNumber;
    }

    /**删除标识
    *@return 
    */
    public Integer getDelFlag(){
	    return  delFlag;
    }
    /**删除标识
    *@param  delFlag
    */
    public void setDelFlag(Integer delFlag){
        this.delFlag = delFlag;
    }


}
